<?php 
header('Content-type:text/html;charset=GBK');
ini_set('display_errors', 'On');
error_reporting(E_WARNING | E_WARNING | E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING);

require_once("config.php");
require_once("source/common.php");
require_once("source/myfun.php");

$tp = $_GET["tp"];

$appid = (int)$_GET['appid'];

include_once(S_ROOT . 'source/' . $tp . '.php');
